package com.qst.yunpan.entity;

public class Share {
    public static final int PUBLIC = 1;//公开
    public static final int PRIVATE = 2;//私有
    public static final int CANCEL = 0;//取消
    public static final int DELETE = -1;//删除

    private Integer shareid;

    private String shareurl;

    private String path;

    private String shareuser;

    private Byte status;

    private String command;

    public Integer getShareid() {
        return shareid;
    }

    public void setShareid(Integer shareid) {
        this.shareid = shareid;
    }

    public String getShareurl() {
        return shareurl;
    }

    public void setShareurl(String shareurl) {
        this.shareurl = shareurl == null ? null : shareurl.trim();
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path == null ? null : path.trim();
    }

    public String getShareuser() {
        return shareuser;
    }

    public void setShareuser(String shareuser) {
        this.shareuser = shareuser == null ? null : shareuser.trim();
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command == null ? null : command.trim();
    }

    @Override
    public String toString() {
        return "Share{" +
                "shareid=" + shareid +
                ", shareurl='" + shareurl + '\'' +
                ", path='" + path + '\'' +
                ", shareuser='" + shareuser + '\'' +
                ", status=" + status +
                ", command='" + command + '\'' +
                '}';
    }
}